Empirical Validation of a Dynamic Coupling Metric
نویسندگان
چکیده
Most object-oriented coupling measures proposed in the literature deal with coupling at the static class level. Measuring dynamic object coupling on the other hand gives us the potential for greater insight into system structure and a comparison of the architectural aspects of different systems. In previous work, we theoretically validated a Dynamic Coupling Metric (DCM) and showed, with the aid of a small example, how a system with meta-level characteristics contained less coupling than a corresponding system without these features. In this paper, we build on the theoretical foundations of our DCM and investigate, in more detail, an empirical validation of the metric. A profiler was developed to collect dynamic coupling data represented by message exchanges between objects at runtime; two system models with different architectural characteristics providing the same functionality were then considered. Empirical validation of the metric showed it to be a useful vehicle for comparing the runtime coupling characteristics of software systems. Results also showed that for examples covering various types of couplings, reflective systems separating the base level from the meta-level exhibited significantly less coupling when compared with corresponding systems with a single-level architecture.
منابع مشابه
Towards an Empirical Validation of Aspect-Oriented Coupling Measures
In this paper we report on ongoing research into the empirical validation of aspect-oriented coupling measures as indicators of maintainability of aspectoriented software. We investigated the aspects of a medium-scale software package developed in industry and measured the maintenance effort that was spent on this software as the number of changed lines throughout the history of each aspect. Th...
متن کاملValidation and application of empirical shear wave velocity models based on standard penetration test
Shear wave velocity is a basic engineering tool required to define dynamic properties of soils. In many instances it may be preferable to determine Vs indirectly by common in-situ tests, such as the Standard Penetration Test. Many empirical correlations based on the Standard Penetration Test are broadly classified as regression techniques. However, no rigorous procedure has been published for c...
متن کاملA Measurement Theory Perspective
The metrics suite for object-oriented design put forward by Chidamber and Kemerer [8] is partly evaluated by applying principles of measurement theory. Using the object coupling measure (CBO) as an example, it is shown that failing to establish a sound empirical relation system can lead to deficiencies of software metrics. Similarly, for the object-oriented cohesion measure (LCOM) it is pointed...
متن کاملA study of the influence of coverage on the relationship between static and dynamic coupling metrics
This paper examines the relationship between the static coupling between objects (CBO) metric and some of its dynamic counterparts. The dimensions of the relationship for Java programs are investigated, and the influence of instruction coverage on this relationship is measured. An empirical evaluation of 14 Java programs taken from the SPEC JVM98 and the JOlden benchmark suites is conducted usi...
متن کاملAn Empirical Validation of Object Oriented Design Quality Metrics
This paper describes an integrated single class based metric called Weighted Class Complexity (WCC) for object oriented design. The metric is discussed from measurement theory viewpoint, taking into account the recognized object oriented features which the metrics was intended to measure encapsulation, inheritance, coupling and polymorphism, and the quality factors efficiency, complexity, under...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2004